<%@page import="comm.util.SoptHashMap"%>
<%@page import="org.json.JSONObject"%>
<%@page import="sopt.engSearch.TwitterAPI"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%
	TwitterAPI twit = new TwitterAPI();
	JSONObject hm = twit.regMember(request,response);
	
	if(hm.getString("MEMBER_SEQ").length()>0){
		session.setAttribute("MEMBER_SEQ",hm.getString("MEMBER_SEQ"));
%>
<script>
			window.opener.loadDiaryWrapContent();
			window.close();
		</script>
<%}else{%>
		<script>
			alert('Something wrong! Try Again...');
			window.close();
		</script>
<%}%>